﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="org.jeecgframework.core.util.SysThemesUtil,org.jeecgframework.core.enums.SysThemesEnum"%>
<%@include file="/context/mytags.jsp"%>
<%
  session.setAttribute("lang","zh-cn");
  SysThemesEnum sysTheme = SysThemesUtil.getSysTheme(request);
  String lhgdialogTheme = SysThemesUtil.getLhgdialogTheme(sysTheme);
%>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta charset="utf-8" />
    <title><t:mutiLang langKey="jeect.platform"/></title>
  
    <link rel="shortcut icon" href="images/favicon.ico">
   <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
    <link rel="stylesheet" type="text/css" href="webpage/login/fonts/font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="webpage/login/css/util.css">
    <link rel="stylesheet" type="text/css" href="webpage/login/css/main.css">
    <link rel="stylesheet" type="text/css" href="plug-in/layer/need/layer.css">
    <!-- bootstrap & fontawesome -->
    <link rel="stylesheet" href="plug-in/ace/css/bootstrap.css" />
    <link rel="stylesheet" href="plug-in/ace/css/font-awesome.css" />
</head>

<!--/************************************************************
 *																*
 * 						      							*
 *                        							*
 *       		  努力创建完善、持续更新插件以及模板			*
 * 																*
**************************************************************-->
<body>
    <div class="limiter">
        <div class="container-login100">
            <div class="wrap-login100">
                <div class="login100-form-title" style="background-image: url(webpage/login/images/bg-01.jpg);">
                    <span class="login100-form-title-1">报工系统</span>
                </div>

                <div class="alert alert-warning alert-dismissible" role="alert" id="errMsgContiner">
                    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <div id="showErrMsg"></div>
                </div>
                <form class="login100-form validate-form" id="loinForm"  method="post">
                    <div class="wrap-input100 validate-input m-b-26" data-validate="用户名不能为空">
                        <span class="label-input100">用户名</span>
                        <input class="input100" type="text" name="userName" id="userName" placeholder="请输入用户名">
                        <span class="focus-input100"></span>
                    </div>

                    <div class="wrap-input100 validate-input m-b-18" data-validate="密码不能为空">
                        <span class="label-input100">密码</span>
                        <input class="input100" type="password" name="password"  id="password" placeholder="请输入用户名">
                        <span class="focus-input100"></span>
                    </div>
					 
                   <%-- <div class="flex-sb-m w-full p-b-30">
                        <div class="contact100-form-checkbox">
                            <input class="input-checkbox100" id="ckb1" type="checkbox" name="remember-me">
                            <label class="label-checkbox100" for="ckb1">记住我</label>
                        </div>

                        <div>
                            <a href="javascript:" class="txt1">忘记密码？</a>
                        </div>
                    </div>
--%>
                    <div class="container-login100-form-btn">
                        <span class="login100-form-btn" >登 录</span>
                    </div>
                </form>
            </div>
        </div>
    </div>

    <script src="webpage/login/js/jquery-3.2.1.min.js"></script>
    <script src="webpage/login/js/main.js"></script>
    <script type="text/javascript" src="webpage/login_old/login-ace.js"></script>
    <script type="text/javascript" src="plug-in/layer/layer.js"></script>
<style>
.copyrights{text-indent:-9999px;height:0;line-height:0;font-size:0;overflow:hidden;}
</style>
<div class="copyrights" id="links20210126">
    &copy; 永鑫集团版权所有 v_4.0
</div>
</body>
<script>

	$(function(){
		optErrMsg();
	});
	$("#errMsgContiner").hide();
          //验证用户信息
      function checkUser(){

       var input = $('.validate-input .input100');


            var check = true;

            for (var i = 0; i < input.length; i++) {
                if (validate(input[i]) == false) {
                    showValidate(input[i]);
                    check = false;
                }
            }
            if(check){


       console.log(res);
        newLogin();
        }
      //  return false;
      }


    </script>
</html>